﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TPTecnicas.MailProcessor
{
    public interface IRepository
    {
        void AlumnoAltaMateria(string padron, string nombre, string identificador, string codigoMateria);

        /// <summary>
        /// Checks if user is registered in current semester
        /// </summary>
        /// <param name="message">id or padron</param>
        /// <returns>Wheter or not the user is registered</returns>
        bool UsuarioRegistrado(string identificador);

        /// <summary>
        /// Checks if user has group in current semester
        /// </summary>
        /// <param name="message">id or padron</param>
        /// <returns>Wheter or not the user has a group</returns>
        bool UsuarioEnGrupo(string identificador);
    }
}
